import request from '@/utils/request'

// 查询白灰外发录入列表
export function listBhcwf(query) {
  return request({
    url: '/jhc/bhcwf/list',
    method: 'get',
    params: query
  })
}

// 查询白灰外发录入详细
export function getBhcwf(cDate) {
  return request({
    url: '/jhc/bhcwf/' + cDate,
    method: 'get'
  })
}

// 新增白灰外发录入
export function addBhcwf(data) {
  return request({
    url: '/jhc/bhcwf',
    method: 'post',
    data: data
  })
}

// 修改白灰外发录入
export function updateBhcwf(data) {
  return request({
    url: '/jhc/bhcwf',
    method: 'put',
    data: data
  })
}

// 删除白灰外发录入
export function delBhcwf(cDate) {
  return request({
    url: '/jhc/bhcwf/' + cDate,
    method: 'delete'
  })
}
